//
//  RBSearchNaviBar.h
//  XinJiangMall
//
//  Created by RaoBo on 2018/5/24.
//  Copyright © 2018年 Tzyang. All rights reserved.
//

#import <UIKit/UIKit.h>

/***点击搜索的回调*/
typedef void(^RBSearchNaviBarSearchBlock)(NSString *searchStr);

typedef void(^RBSearchNaviBarCancelBlock)(void);

@interface RBSearchNaviBar : UIView
/**输入框*/
@property (nonatomic, strong) UISearchBar *searchBar;
@property (nonatomic, copy) NSString *placeholder; //占位文字

@property(nonatomic, copy) RBSearchNaviBarCancelBlock cancelBlock;
@property(nonatomic, copy) RBSearchNaviBarSearchBlock searchBlock;
@end
